package com.bodu.system.service;

import com.bodu.core.common.CommonService;
import com.bodu.system.entity.po.AreaPo;
import com.bodu.system.entity.request.AreaRequest;
import com.bodu.system.entity.vo.AreaVo;

import java.util.List;

/**
 * @author Administrator
 */
public interface AreaService extends CommonService<AreaRequest, AreaVo> {

    /**
     * 根据区域父编号得到所有子类区域集合
     *
     * @param parentCode
     * @return
     */
    List<AreaPo> findAreaByParentCode(Long parentCode);
}
